<ResourceDictionary
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:loc="clr-namespace:Jerry.DroidBuilder"
  xmlns:ext="clr-namespace:Jerry.DroidBuilder.Extensions"
  xmlns:local="clr-namespace:Jerry.DroidBuilder"
  xmlns:sc="http://icsharpcode.net/sharpdevelop/avalonedit">
  <DataTemplate DataType="{x:Type local:TextEditorViewModel}">
    <Grid>
      <Grid.RowDefinitions>
        <RowDefinition Height="Auto"/>
        <RowDefinition Height="*"/>
      </Grid.RowDefinitions>
      <StackPanel Grid.Row="0">
      </StackPanel>
      <Grid Grid.Row="1">
        <sc:TextEditor ext:TextEditorExtension.BindableText="{Binding Text, Mode=TwoWay}" ext:TextEditorExtension.TextFormat="{Binding TextFormat}"/>
      </Grid>
    </Grid>
  </DataTemplate>
</ResourceDictionary>